﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;

namespace HRProject.Code.DTO
{
    public class BLJobTitle
    {
        private Guid id;
        private string name;
        private string description;
        private BLJobTitle parent;
        private DateTime updateDate;
        private Guid updateUserId;
        private long dataSignature;
        private string avatar;
        private string privateCode;
        private List<BLJobTitle> children;

        public string PrivateCode
        {
            get { return privateCode; }
            set { privateCode = value; }
        }

        public List<BLJobTitle> Children
        {
            get { return children; }
            set { children = value; }
        }

        public string Avatar
        {
            get { return avatar; }
            set { avatar = value; }
        }

        public Guid Id
        {
            get { return id; }
            set { id = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public BLJobTitle Parent
        {
            get { return parent; }
            set { parent = value; }
        }

        public DateTime UpdateDate
        {
            get { return updateDate; }
            set { updateDate = value; }
        }

        public Guid UpdateUserId
        {
            get { return updateUserId; }
            set { updateUserId = value; }
        }

        public long DataSignature
        {
            get { return dataSignature; }
            set { dataSignature = value; }
        }

        public BLJobTitle()
        {
            children = new List<BLJobTitle>();
        }
    }
}
